-- GENERATED SPELL FOR [Crowleg Dan] --


function spell0_24713(pUnit, Event) --@Thrash Kick,n/a--
pUnit:FullCastSpellOnTarget(50306,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24713', 644, 1)
end

function Sorts_24713(pUnit, Event)
local choix_sorts_24713 = math.random(0, 0)
if choix_sorts_24713 == 0 then
pUnit:RegisterEvent('spell0_24713', 1, 1)
end
end

function mob24713_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24713', math.random(1500, 3000), 1)
end

function mob24713_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24713_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24713_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24713, 1, 'mob24713_Action')
RegisterUnitEvent(24713, 2, 'mob24713_Leave')
RegisterUnitEvent(24713, 3, 'mob24713_Kill')
RegisterUnitEvent(24713, 4, 'mob24713_Die')
